package eu.fishcode.android.ui;

import java.awt.event.ActionListener;

import javax.swing.SwingConstants;

import eu.fishcode.android.ui.component.ToolBar;

public class FileToolBar extends ToolBar {

	private static final long serialVersionUID = 1L;

	public FileToolBar(ActionListener ai) {
		super("File", ai, SwingConstants.HORIZONTAL);
	}

	public FileToolBar(String name, ActionListener ai, int orientation) {
		super(name, ai, orientation);
	}

	@Override
	protected void addButtons() {
		super.addButtons();
		this.addButton("new.png", "new");
		this.addButton("folder-android-boot.png", "open");
		this.addButton("media-floppy.png", "save");
		this.addSeparator();
		this.addButton("pull.png", "export");
		this.addButton("push.png", "install");
		this.addSeparator();
		this.addButton("video.png", "gif");
	}

}
